<?php
namespace App\Event\User;

use App\Event\Event;

// 动态订单释放事件
class OrderMoneyRemainEvent extends Event
{
    public $user;
    
    public $type;
    
    public $money;
    
    public $content;
    
    // 用户及金额
    public function __construct($user, $type, $money, $content)
    {
        $this->user = $user;
        $this->type = $type;
        $this->money = $money;
        $this->content = $content;
    }
}